home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / pcroct89.arc / BATCH.ARC / GETKEY.SCR < prev    next >
Text File  |  1990-03-21  |  304b  |  13 lines

  1. n getkey.com    ;name program
  2. rcx        ;set CS to write 8 bytes             
  3. 8
  4. a100        ;start assembly
  5. mov ah,0    ;ROM BIOS service,
  6. int 16        ;read next keystroke into al
  7. mov ah,4c    ;DOS function,
  8. int 21        ;terminate with exit code in al
  9.         ;blank line ends assembly
  10. w        ;write file to disk
  11. q        ;quit Debug
  12.  
  13.